<template>
  <div>
    <!--Loading效果 -->
    <Loading v-if="loadingStore.loading"></Loading>
    <router-view></router-view>
  </div>
</template>
<script setup lang="ts">
//首页动画组件
import Loading from '@/components/Loading/Loading.vue'
import Home from '@/view/Home/home.vue'
import useLoadingStore from '@/store/loading.ts'
let loadingStore = useLoadingStore()
//关闭动画组件
loadingStore.changeLoadingStatus(3000)
</script>
<style scoped></style>
